<template>
    <FrameWork></FrameWork>
    <ContentField>
        <h2 style="text-align:center;margin-bottom: 30px;">系统默认题集管理</h2>
        <div class="d-grid gap-2">
            <button class="btn btn-primary" type="button" style="margin:10px 0;" @click="toQuerySet">系统默认查询语句题集</button>
            <button class="btn btn-primary" type="button" style="margin:10px 0;" @click="toAddSet">系统默认增加语句题集</button>
            <button class="btn btn-primary" type="button" style="margin:10px 0;" @click="toUpdateSet">系统默认修改语句题集</button>
            <button class="btn btn-primary" type="button" style="margin:10px 0;" @click="toDeleteSet">系统默认删除语句题集</button>
        </div>
    </ContentField>
</template>

<script>
import FrameWork from '@/components/admin/FrameWork.vue';
import ContentField from '@/components/commons/ContentField.vue';
import router from '@/router/index';


export default{
    name: 'defaultSetManage',
    components:{
        FrameWork,
        ContentField,
    },

    setup(){

        const toQuerySet = ()=>{
            router.push({name: 'A_querySet', params: {proType: 1}});
        }

        const toAddSet = ()=>{
            router.push({name: 'A_addSet', params: {proType: 2}});
        }

        const toUpdateSet = ()=>{
            router.push({name: 'A_updateSet', params: {proType: 3}});
        }

        const toDeleteSet = ()=>{
            router.push({name: 'A_deleteSet', params: {proType: 4}});
        }

        return{
            toQuerySet,
            toAddSet,
            toUpdateSet,
            toDeleteSet,
        }
    }
    
}
</script>



<style scoped>
</style>